﻿<%@ Page Language="C#" MasterPageFile="~/Forum.master" AutoEventWireup="true" CodeBehind="ReportPage.aspx.cs" Inherits="Forums.ReportPage" %>
<%@ Register src="UserControls/SearchFunction.ascx" tagname="SearchFunction" tagprefix="uc1" %>
<%@ Register src="UserControls/Menu.ascx" tagname="Menu" tagprefix="uc2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="menuContentHolder" runat="server">
    <uc2:Menu ID="Menu1" runat="server" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="searchContentHolder" runat="server">
    <uc1:SearchFunction ID="SearchFunction1" runat="server" />
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="mainContentHolder" runat="server">
    <table class="style1">
        <tr>
            <td style="width: 166px">
                <asp:Label ID="lblGuidelineBroken" runat="server" 
                    Text="Choose Guideline Broken" Width="113%"></asp:Label>
            </td>
            <td>
                <asp:DropDownList ID="cboGuidelineBroken" runat="server" 
                    DataSourceID="ReportPageComboBox" DataTextField="guideline_message" 
                    DataValueField="guideline_id">
                </asp:DropDownList>
                <asp:SqlDataSource ID="ReportPageComboBox" runat="server" 
                    ConnectionString="<%$ ConnectionStrings:CentForumsDB %>" SelectCommand="SELECT
guideline.guideline_id,	guideline.guideline_message
FROM
	guideline"></asp:SqlDataSource>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td style="width: 166px">
                &nbsp;</td>
            <td>
                <asp:Label ID="lblReportValidator" runat="server" 
                    Text="You Must Enter a Comment" Font-Names="Arial" ForeColor="Red" Font-Size="12px" Visible="False"></asp:Label>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td style="width: 166px">
                <asp:Label ID="lblReportComments" runat="server" Text="Your Comments" 
                    Width="100%"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtReportComments" runat="server" MaxLength="500" 
                    Height="94px" TextMode="MultiLine" Width="255px"></asp:TextBox>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td style="width: 166px">
                &nbsp;</td>
            <td>
                <asp:Button ID="btnSubmit" runat="server" onclick="btnSubmit_Click" 
                    Text="Submit" Width="66px" CssClass="submitButton" Height="24px"/>
                <asp:Button ID="btnClear" runat="server" Text="Clear" onclick="btnClear_Click" 
                    style="height: 26px" CssClass="submitButton" Height="24px" Width="66px" />
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td style="width: 166px">
                <asp:HiddenField ID="fldReturnUrl" runat="server" />
            </td>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td style="width: 166px">
                &nbsp;</td>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
    </table>
</asp:Content>
